package jmlee.basic;

public class J01_FoodNara {

	public static void main(String[] args) {
		String title;		// 영수증 제목
		int soju;			// 소주단가
		int chiken;			// 치킨단가
		String liner;		// 구분선
		int total;
		int sum; 
		int tax;
		int remoney;
		int money;
			
		title= "[음식나라]";
		soju = 3000;
		chiken = 12000;
		liner = "---------------------";
		total = soju*2 + chiken;
		tax = total / 10;
		sum = total-tax; 
		
		
		remoney = 50000;
		money = 32000; 
		
		System.out.println(title);
		System.out.println(liner);
		System.out.println("소주\t2\t"+(2*soju));
		System.out.println("너나치킨\t1\t"+(chiken));
		System.out.println(liner);
		System.out.println("과세합계\t\t"+sum);
		System.out.println("부가세\t	"+tax);
		System.out.println(liner);
		System.out.println("총합계\t	"+total);
		System.out.println("받은금액\t\t"+remoney);
		System.out.println("잔돈\t	"+money);
		System.out.println(liner);
		System.out.println();
		
	}

}
